<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" http-equiv="description" content="<?php echo $config['description']; ?>"  />
<meta name="keywords" http-equiv="keywords" content="<?php echo $config['keyword']; ?>" />
<title><?php echo $config['title']; ?></title>
<link href="/Ria/Skin/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/Ria/public/jquery.js"></script>
<script type="text/javascript" src="/Ria/public/ui.js"></script>
<script type="text/javascript" src="/Ria/public/common.js"></script>
</head>

<body>

<div id="top-info">
	<div class="leftInfo">
    2011-07-20 12:12:13 农历：丁卯年五月二十二
    </div>
    <div class="rightInfo">
    后勤部首页 | 加入收藏 | 设为主页
    </div>
</div>

<div id="banner">

</div>

<div id="menu">
	<div class="top">
    <a href="<?php echo $config['domain'];?>" class="tabs home <?php if (!$cid):?>curTab<?php endif;?>" rel="sub_menu_1">首页</a>
    <?php foreach ($catalogs as $catalog):?>
    <?php if ($catalog['pid']==0):?>
    <a href="<?php echo $catalog['url'];?>" class="tabs <?php if ($catalog['id']==$cid):?>curTab<?php endif;?>" rel="sub_menu_<?php echo $catalog['id'];?>"><?php echo $catalog['name'];?></a>
    <?php endif;?>
 	<?php endforeach;?>
    </div>
    <div class="bottom">
    	<?php foreach ($catalogs as $catalog):?>
    	<?php if ($catalog['pid']==0):?>
    	<div id="sub_menu_<?php echo $catalog['id'];?>">
			<?php foreach ($catalogs as $subcatalog):?>
			<?php if ($subcatalog['pid']==$catalog['id']):?>
			<a href="<?php echo $subcatalog['url'];?>" target="_blank"><?php echo $subcatalog['name'];?></a>&nbsp;&nbsp;|&nbsp;&nbsp;
			<?php endif;?>
			<?php endforeach;?>
		</div>
    	<?php endif;?>
 		<?php endforeach;?>
        </div>
</div>